-- Accepting AUTHENTICATED call from 195.xx.xxx.xx, requested format = 8, actual format = 8
-- Executing Answer("IAX2/abc@abc/2", "") in new stack
Oct 26 16:44:44 WARNING[10155]: pbx.c:1293 pbx_extension_helper: No application 'agi' for extension (iax-abc, 810202, 2)
-- Hungup 'IAX2/abc@abc/2'
First of all check to see if AGI is available in your build do this by running 'show applications' at the asterisk CLI. You should see a line like this:
AGI: Executes an AGI compliant application
If this line is missing from your applications list, you're probably not loading the AGI module. This is easily fixed by adding the following line to your /etc/asterisk/modules.conf:
load => res_agi.so
With that load directive in place (which loads the module from /usr/lib/asterisk/modules) just restart the asterisk server by typing 'restart now' at the CLI. Now re-run the CLI and type 'show applications' and you should see the AGI app listed in there. Your AGI scripts should work from this point on :)
hth, christo